<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script src="../public/maincss.js"></script>
    <script src="../public/main.js"></script>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight" id="main-block">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div class="mt-20" style="overflow:visible;position:relative;text-align: center;">

                        <div class="ibox-content">
                            <form class="form-inline" role="form">

                                <table class="table table-striped table-bordered table-hover ">
                                    <caption class="text-left" style="padding-left:10px;background-color:#f3f3f2;">
                                        短信接口设置
                                    </caption>
                                    <tbody>
                                    <tr>
                                        <th class="text-right">短信服务商：</th>
                                        <td colspan="3" class="text-left"><select class="form-control" v-model="smsServer" id="smsServer"
                                                                                  style="width: 196px;size: 196px;">
                                            <option value="1">点集</option>
                                            <option value="2">商讯</option>
                                            <option value="99">自定义</option>
                                        </select></td>
                                    </tr>
                                    <tr>
                                        <th class="text-right">是否开启短信通知：</th>
                                        <td colspan="3" class="text-left"><select class="form-control" id="ifOpenSms"
                                                                                  style="width: 196px;size: 196px;">
                                            <option value="1">开启</option>
                                            <option value="2">关闭</option>
                                        </select></td>
                                    </tr>
                                    <tr colspan="3">
                                        <th width="20%" class="text-right">短信平台地址：</th>
                                        <td class="text-left"><input type="text" class="form-control" value=""
                                                                     id="hlSmsUrl" style="width: 350px"/></td>
                                    </tr>
                                    <tr>
                                        <th width="20%" class="text-right">用户名：</th>
                                        <td class="text-left"><input type="text" class="form-control" value=""
                                                                     id="hlUsername"/><font color="#336699">&nbsp;
                                            <span v-if="smsServer==1">在点集科技注册的用户名</span><span v-if="smsServer==2">在商讯注册的用户名</span></font></td>
                                    </tr>
                                    <tr>
                                        <th width="20%" class="text-right">接口密钥（或Token值）：</th>
                                        <td class="text-left"><input type="password" class="form-control" value=""
                                                                     id="hlToken"/><font color="#336699">&nbsp;
                                            <span v-if="smsServer==1">由点集科技提供的Token值</span><span v-if="smsServer==2">商讯中账号对应密码</span></font></td>
                                    </tr>

                                    </tbody>
                                </table>

                                <table class="table table-striped table-bordered table-hover ">
                                    <caption class="text-left" style="padding-left:10px;background-color:#f3f3f2;">
                                        系统邮件设置
                                    </caption>
                                    <tbody>
                                    <tr>
                                        <th class="text-right">邮件发送服务器：</th>
                                        <td colspan="4" class="text-left"><input type="text" class="form-control"
                                                                                 value="" id="mailService"/>
                                            <font color="#336699">&nbsp;如：mail.winiis.com</font></td>
                                    </tr>
                                    <tr>
                                        <th class="text-right">邮箱名：</th>
                                        <td colspan="4" class="text-left"><input type="text" class="form-control"
                                                                                 value="" id="mailName"/>
                                            <font color="#336699">&nbsp;如：web@winiis.com</font></td>
                                    </tr>
                                    <tr>
                                        <th width="20%" class="text-right">邮箱密码：</th>
                                        <td class="text-left"><input type="password" class="form-control" value=""
                                                                     id="mailPassword"/>
                                            <font color="#336699">&nbsp;如：123456</font></td>
                                    </tr>
                                    <tr>
                                        <th width="20%" class="text-right">邮件端口：</th>
                                        <td class="text-left"><input type="text" class="form-control" value=""
                                                                     id="mailPort"/>
                                            <font color="#336699">&nbsp;如：80</font></td>
                                    </tr>
                                    <tr>
                                        <th width="20%" class="text-right">是否需要SSL认证：</th>
                                        <td class="text-left">
                                            <select class="form-control" id="mailssl"
                                                    style="width: 196px;size: 196px;">
                                                <option value="false">否</option>
                                                <option value="true">是</option>
                                            </select>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>

                                <input type="button" value="保存接口设置" class="btn btn-primary" onclick="uptDicParamApi();">
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="../../../public/js/upload.js"></script>
<script src="js/interface.js"></script>
</html>
